package com.onileVideo.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.onileVideo.base.model.dto.pageParams;
import com.onileVideo.base.model.dto.pageResult;
import com.onileVideo.content.model.dto.AddCourseDto;
import com.onileVideo.content.model.dto.CategoryDto;
import com.onileVideo.content.model.dto.CourseInfoResult;
import com.onileVideo.content.model.dto.QueryCourseParamsDto;
import com.onileVideo.content.model.po.CourseBase;

import java.util.List;

/**
 * <p>
 * 课程基本信息 服务类
 * </p>
 *
 * @author itcast
 * @since 2022-10-07
 */
public interface CourseBaseService extends IService<CourseBase> {

    CourseInfoResult selectCourseById(Integer id);

    pageResult<CourseBase> list(QueryCourseParamsDto queryCourseParamsDto, pageParams pageParams);
    List<CategoryDto> queryBaseCategory();

    CourseInfoResult insertCourse(Long companyId, AddCourseDto addCourseDto);



}
